﻿using OASystem.BLL.IService;
using OASystem.DAL;
using OASystem.Model;
using OASystem.ViewModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OASystem.BLL.Service
{
    //记得修改Userinfo成自己要使用的实体
    public class Dossier_myService : BaseRepository<Httppostedfile>, IDossier_myService
    {
        BaseRepository<Httppostedfile> baseRepository = new BaseRepository<Httppostedfile>();
        public ResponseResult FileMy(Httppostedfile httppostedfile)
        {
            //实例化ReponseReult对象
            ResponseResult responseResult = new ResponseResult();
            //创建文件流
            

            //提交前台处理
            return responseResult;
        }
        /// <summary>
        /// 单表删除
        /// </summary>
        /// <param name="httppostedfile"></param>
        /// <returns></returns>
        public ResponseResult Del(Httppostedfile httppostedfile)
        {
            ResponseResult result = new ResponseResult();
            result.data = baseRepository.Delete(httppostedfile);
            return result;
        }
    }
}
